<table>
	<tr>
		<td>
			<a class="button" href="javascript:void(null)" onclick="$('#formitem').submit()">
				<div style="background:url(<?php echo $this->baseUrl() ?>/public/images/save_16.png);" class="inb">Wyślij zaproszenie</div>
			</a>
		</td>
	</tr>
</table>

<form id="formitem" action="<?php echo $this->baseUrl() ?>/cpagent/invitation" method="post">
	<table cellspacing="0" cellpadding="6" class="tform">
		<tr>
			<td class="lb">Maile (oddzielone średnikiem max 20):</td>
			<td class="inpy"><textarea name="email"></textarea></td>
		</tr>
		<tr>
			<td class="lb">Tytuł zaproszenia:</td>
			<td class="inpy"><input type="text" name="title" /></td>
		</tr>
		<tr>
			<td class="lb">Treść zaproszenia:</td>
			<td class="inpy"><textarea name="body"></textarea></td>
		</tr>
	</table>
</form>

<table>
	<tr>
		<td>
			<a class="button" href="javascript:void(null)" onclick="$('#formitem').submit()">
				<div style="background:url(<?php echo $this->baseUrl() ?>/public/images/save_16.png);" class="inb">Wyślij zaproszenie</div>
			</a>
		</td>
	</tr>
</table>